﻿package com.example.demo.dao
import com.example.demo.dbmodels.*
import me.liuwj.ktorm.schema.*
import java.math.BigDecimal
/**
 * View
 *  VIEW
 **/
object VPatientDao : Table<VPatient>("v_patient"){
	var id = int("id").bindTo { it.id }
	var code = int("code").bindTo { it.code }
	var cure_no = int("cure_no").bindTo { it.cure_no }
	var name = int("name").bindTo { it.name }
	var district_code = int("district_code").bindTo { it.district_code }
	var dept_code = int("dept_code").bindTo { it.dept_code }
	var room_code = int("room_code").bindTo { it.room_code }
	var bed_code = int("bed_code").bindTo { it.bed_code }
	var nurse_level_code = int("nurse_level_code").bindTo { it.nurse_level_code }
	var outlay_type = int("outlay_type").bindTo { it.outlay_type }
	var sex = int("sex").bindTo { it.sex }
	var marriage = int("marriage").bindTo { it.marriage }
	var birthday = int("birthday").bindTo { it.birthday }
	var pca_code = int("pca_code").bindTo { it.pca_code }
	var address = int("address").bindTo { it.address }
	var mobile = int("mobile").bindTo { it.mobile }
	var education = int("education").bindTo { it.education }
	var duties = int("duties").bindTo { it.duties }
	var id_number = int("id_number").bindTo { it.id_number }
	var height = int("height").bindTo { it.height }
	var weight = int("weight").bindTo { it.weight }
	var area_code = int("area_code").bindTo { it.area_code }
	var custom_infusion_rule = int("custom_infusion_rule").bindTo { it.custom_infusion_rule }
	var run_status = int("run_status").bindTo { it.run_status }
	var begin_time = int("begin_time").bindTo { it.begin_time }
	var end_time = int("end_time").bindTo { it.end_time }
	var in_time = int("in_time").bindTo { it.in_time }
	var out_time = int("out_time").bindTo { it.out_time }
	var sort = int("sort").bindTo { it.sort }
	var status = int("status").bindTo { it.status }
	var nation = int("nation").bindTo { it.nation }
	var remark = int("remark").bindTo { it.remark }
	var doctor_code = int("doctor_code").bindTo { it.doctor_code }
	var guardian = int("guardian").bindTo { it.guardian }
	var social_security_no = int("social_security_no").bindTo { it.social_security_no }
	var skin_test = int("skin_test").bindTo { it.skin_test }
	var severe_care = int("severe_care").bindTo { it.severe_care }
	var operator_code = int("operator_code").bindTo { it.operator_code }
	var operator_time = int("operator_time").bindTo { it.operator_time }
	var diet = int("diet").bindTo { it.diet }
	var update_time = int("update_time").bindTo { it.update_time }
	var update_by = int("update_by").bindTo { it.update_by }
	var nurse_level_type = int("nurse_level_type").bindTo { it.nurse_level_type }
	var nurse_level_id = int("nurse_level_id").bindTo { it.nurse_level_id }
	var nurse_level_name = int("nurse_level_name").bindTo { it.nurse_level_name }
	var nurse_level_bg_color = int("nurse_level_bg_color").bindTo { it.nurse_level_bg_color }
	var nurse_level_font_color = int("nurse_level_font_color").bindTo { it.nurse_level_font_color }
	var sex_text = int("sex_text").bindTo { it.sex_text }
	var marriage_text = int("marriage_text").bindTo { it.marriage_text }
	var age = int("age").bindTo { it.age }
	var in_days = int("in_days").bindTo { it.in_days }
	var doctor_id = int("doctor_id").bindTo { it.doctor_id }
	var doctor_name = int("doctor_name").bindTo { it.doctor_name }
	var diagnose = int("diagnose").bindTo { it.diagnose }
	var allergy = int("allergy").bindTo { it.allergy }
	var nurse_code = int("nurse_code").bindTo { it.nurse_code }
	var nurse_id = int("nurse_id").bindTo { it.nurse_id }
	var nurse_name = int("nurse_name").bindTo { it.nurse_name }
}
